name: tests_tapi run_id: commands[0] env HOME: /home/jenkins env INSTALL_TAPI: **** env LANG: C.UTF-8 env OLM_TIMER1: 3000 env OLM_TIMER2: 2000 env PATH: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin:/opt/pyenv/bin:/tmp/venv-TuFn/bin:/opt/pyenv/shims:/home/jenkins/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/opt/puppetlabs/bin env PIP_DISABLE_PIP_VERSION_CHECK: 1 env PIP_USER: 0 env PYTHONHASHSEED: 701800243 env PYTHONIOENCODING: utf-8 env SSH_AUTH_SOCK: ******************************** env TOX_ENV_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env TOX_ENV_NAME: tests_tapi env TOX_WORK_DIR: /w/workspace/transportpce-tox-verify-transportpce-master/.tox env USE_ODL_ALT_KARAF_ENV: ./karaf221.env env USE_ODL_ALT_KARAF_INSTALL_DIR: karaf221 env VIRTUAL_ENV: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi env __TOX_ENVIRONMENT_VARIABLE_ORIGINAL_CI: true metadata pid: 7444 cwd: /w/workspace/transportpce-tox-verify-transportpce-master/tests allow: /w/workspace/transportpce-tox-verify-transportpce-master/.tox/tests_tapi/bin/*:launch_tests.sh cmd: ./launch_tests.sh tapi exit_code: 1 using environment variables from ./karaf221.env pytest -q transportpce_tests/tapi/test01_abstracted_topology.py ................................................... [100%] 51 passed in 320.78s (0:05:20) pytest -q transportpce_tests/tapi/test02_full_topology.py .................................... [100%] 36 passed in 340.46s (0:05:40) pytest -q transportpce_tests/tapi/test03_tapi_device_change_notifications.py .................F......F.............................................. [100%] =================================== FAILURES =================================== __ TestTransportPCEDeviceChangeNotifications.test_18_check_update_tapi_links ___ self = def test_18_check_update_tapi_links(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) self.assertEqual(response['status_code'], requests.codes.ok) link_list = response['output']['topology']['link'] nb_updated_link = 0 for link in link_list: if all(x in link['name'][1]['value'] for x in ['XPDR-C1-XPDR1', 'XPDR1-NETWORK1']): self.assertEqual(link['operational-state'], 'DISABLED') self.assertEqual(link['administrative-state'], 'LOCKED') nb_updated_link += 1 else: > self.assertEqual(link['operational-state'], 'ENABLED') ^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'operational-state' transportpce_tests/tapi/test03_tapi_device_change_notifications.py:421: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_18_check_update_tapi_links _ TestTransportPCEDeviceChangeNotifications.test_25_check_update_tapi_links_ok _ self = def test_25_check_update_tapi_links_ok(self): self.tapi_topo["topology-id"] = test_utils.T0_FULL_MULTILAYER_TOPO_UUID response = test_utils.transportpce_api_rpc_request( 'tapi-topology', 'get-topology-details', self.tapi_topo) time.sleep(2) link_list = response['output']['topology']['link'] for link in link_list: > self.assertEqual(link['operational-state'], 'ENABLED') ^^^^^^^^^^^^^^^^^^^^^^^^^ E KeyError: 'operational-state' transportpce_tests/tapi/test03_tapi_device_change_notifications.py:506: KeyError ----------------------------- Captured stdout call ----------------------------- execution of test_25_check_update_tapi_links_ok =========================== short test summary info ============================ FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_18_check_update_tapi_links FAILED transportpce_tests/tapi/test03_tapi_device_change_notifications.py::TestTransportPCEDeviceChangeNotifications::test_25_check_update_tapi_links_ok 2 failed, 69 passed in 355.70s (0:05:55)